Optimal. Leaf size=156 \[ -\frac{x^2 \sqrt{d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )}{3 c^2 d}-\frac{2 \sqrt{d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )}{3 c^4 d}-\frac{b x^3 \sqrt{c x-1} \sqrt{c x+1}}{9 c \sqrt{d-c^2 d x^2}}-\frac{2 b x \sqrt{c x-1} \sqrt{c x+1}}{3 c^3 \sqrt{d-c^2 d x^2}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.49645, antiderivative size = 172, normalized size of antiderivative = 1.1, number of steps used = 5, number of rules used = 5, integrand size = 27, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.185, Rules used = {5798, 5759, 5718, 8, 30} \[ -\frac{x^2 (1-c x) (c x+1) \left (a+b \cosh ^{-1}(c x)\right )}{3 c^2 \sqrt{d-c^2 d x^2}}-\frac{2 (1-c x) (c x+1) \left (a+b \cosh ^{-1}(c x)\right )}{3 c^4 \sqrt{d-c^2 d x^2}}-\frac{b x^3 \sqrt{c x-1} \sqrt{c x+1}}{9 c \sqrt{d-c^2 d x^2}}-\frac{2 b x \sqrt{c x-1} \sqrt{c x+1}}{3 c^3 \sqrt{d-c^2 d x^2}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 5798
Rule 5759
Rule 5718
Rule 8
Rule 30
Rubi steps
\begin{align*} \int \frac{x^3 \left (a+b \cosh ^{-1}(c x)\right )}{\sqrt{d-c^2 d x^2}} \, dx &=\frac{\left (\sqrt{-1+c x} \sqrt{1+c x}\right ) \int \frac{x^3 \left (a+b \cosh ^{-1}(c x)\right )}{\sqrt{-1+c x} \sqrt{1+c x}} \, dx}{\sqrt{d-c^2 d x^2}}\\ &=-\frac{x^2 (1-c x) (1+c x) \left (a+b \cosh ^{-1}(c x)\right )}{3 c^2 \sqrt{d-c^2 d x^2}}+\frac{\left (2 \sqrt{-1+c x} \sqrt{1+c x}\right ) \int \frac{x \left (a+b \cosh ^{-1}(c x)\right )}{\sqrt{-1+c x} \sqrt{1+c x}} \, dx}{3 c^2 \sqrt{d-c^2 d x^2}}-\frac{\left (b \sqrt{-1+c x} \sqrt{1+c x}\right ) \int x^2 \, dx}{3 c \sqrt{d-c^2 d x^2}}\\ &=-\frac{b x^3 \sqrt{-1+c x} \sqrt{1+c x}}{9 c \sqrt{d-c^2 d x^2}}-\frac{2 (1-c x) (1+c x) \left (a+b \cosh ^{-1}(c x)\right )}{3 c^4 \sqrt{d-c^2 d x^2}}-\frac{x^2 (1-c x) (1+c x) \left (a+b \cosh ^{-1}(c x)\right )}{3 c^2 \sqrt{d-c^2 d x^2}}-\frac{\left (2 b \sqrt{-1+c x} \sqrt{1+c x}\right ) \int 1 \, dx}{3 c^3 \sqrt{d-c^2 d x^2}}\\ &=-\frac{2 b x \sqrt{-1+c x} \sqrt{1+c x}}{3 c^3 \sqrt{d-c^2 d x^2}}-\frac{b x^3 \sqrt{-1+c x} \sqrt{1+c x}}{9 c \sqrt{d-c^2 d x^2}}-\frac{2 (1-c x) (1+c x) \left (a+b \cosh ^{-1}(c x)\right )}{3 c^4 \sqrt{d-c^2 d x^2}}-\frac{x^2 (1-c x) (1+c x) \left (a+b \cosh ^{-1}(c x)\right )}{3 c^2 \sqrt{d-c^2 d x^2}}\\ \end{align*}
Mathematica [A] time = 0.212323, size = 113, normalized size = 0.72 \[ \frac{\sqrt{d-c^2 d x^2} \left (-3 a \left (c^4 x^4+c^2 x^2-2\right )+b c x \sqrt{c x-1} \sqrt{c x+1} \left (c^2 x^2+6\right )-3 b \left (c^4 x^4+c^2 x^2-2\right ) \cosh ^{-1}(c x)\right )}{9 c^4 d (c x-1) (c x+1)} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [B] time = 0.234, size = 382, normalized size = 2.5 \begin{align*} a \left ( -{\frac{{x}^{2}}{3\,{c}^{2}d}\sqrt{-{c}^{2}d{x}^{2}+d}}-{\frac{2}{3\,d{c}^{4}}\sqrt{-{c}^{2}d{x}^{2}+d}} \right ) +b \left ( -{\frac{-1+3\,{\rm arccosh} \left (cx\right )}{72\,d{c}^{4} \left ({c}^{2}{x}^{2}-1 \right ) }\sqrt{-d \left ({c}^{2}{x}^{2}-1 \right ) } \left ( 4\,{c}^{4}{x}^{4}-5\,{c}^{2}{x}^{2}+4\,\sqrt{cx+1}\sqrt{cx-1}{x}^{3}{c}^{3}-3\,\sqrt{cx+1}\sqrt{cx-1}xc+1 \right ) }-{\frac{-3+3\,{\rm arccosh} \left (cx\right )}{8\,d{c}^{4} \left ({c}^{2}{x}^{2}-1 \right ) }\sqrt{-d \left ({c}^{2}{x}^{2}-1 \right ) } \left ( \sqrt{cx+1}\sqrt{cx-1}xc+{c}^{2}{x}^{2}-1 \right ) }-{\frac{3+3\,{\rm arccosh} \left (cx\right )}{8\,d{c}^{4} \left ({c}^{2}{x}^{2}-1 \right ) }\sqrt{-d \left ({c}^{2}{x}^{2}-1 \right ) } \left ( -\sqrt{cx+1}\sqrt{cx-1}xc+{c}^{2}{x}^{2}-1 \right ) }-{\frac{1+3\,{\rm arccosh} \left (cx\right )}{72\,d{c}^{4} \left ({c}^{2}{x}^{2}-1 \right ) }\sqrt{-d \left ({c}^{2}{x}^{2}-1 \right ) } \left ( -4\,\sqrt{cx+1}\sqrt{cx-1}{x}^{3}{c}^{3}+4\,{c}^{4}{x}^{4}+3\,\sqrt{cx+1}\sqrt{cx-1}xc-5\,{c}^{2}{x}^{2}+1 \right ) } \right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F(-2)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Exception raised: ValueError} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 2.46026, size = 308, normalized size = 1.97 \begin{align*} -\frac{3 \,{\left (b c^{4} x^{4} + b c^{2} x^{2} - 2 \, b\right )} \sqrt{-c^{2} d x^{2} + d} \log \left (c x + \sqrt{c^{2} x^{2} - 1}\right ) -{\left (b c^{3} x^{3} + 6 \, b c x\right )} \sqrt{-c^{2} d x^{2} + d} \sqrt{c^{2} x^{2} - 1} + 3 \,{\left (a c^{4} x^{4} + a c^{2} x^{2} - 2 \, a\right )} \sqrt{-c^{2} d x^{2} + d}}{9 \,{\left (c^{6} d x^{2} - c^{4} d\right )}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{x^{3} \left (a + b \operatorname{acosh}{\left (c x \right )}\right )}{\sqrt{- d \left (c x - 1\right ) \left (c x + 1\right )}}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{{\left (b \operatorname{arcosh}\left (c x\right ) + a\right )} x^{3}}{\sqrt{-c^{2} d x^{2} + d}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]